package com.lesso.lzh.sunflower.infra.assembler;

import com.lesso.lzh.sunflower.model.RelEmployeeDevice;
import com.lesso.lzh.sunflower.pojo.dto.RelEmployeeDeviceDTO;
import com.lesso.lzh.sunflower.pojo.vo.RelEmployeeDeviceVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * RelEmployeeDeviceAssembler
 *
 * @author zqz
 * @since 2025-07-05
 */
@Mapper
public interface RelEmployeeDeviceAssembler {
    RelEmployeeDeviceAssembler INSTANCE = Mappers.getMapper(RelEmployeeDeviceAssembler.class);

    RelEmployeeDevice dtoToEntity(RelEmployeeDeviceDTO dto);

    RelEmployeeDeviceVO entityToVO(RelEmployeeDevice relEmployeeDevice);

    List<RelEmployeeDeviceVO> entityListToVOList(List<RelEmployeeDevice> relEmployeeDevices);

    RelEmployeeDeviceDTO entityToDto(RelEmployeeDevice relEmployeeDevice);
}